<!-- 首页 开户和有户选项页 -->
<template>
  <div>
    <div id="content">
        <el-button type="primary" style="letter-spacing: 0.2rem;width: 10vw;" @click="loadIn">已有账户</el-button>
        <el-button type="primary" style="letter-spacing: 0.2rem;width: 10vw;" @click="createUser">我要开户</el-button>
    </div>
    <Special/>
  </div>
</template>

<script>
import Special from '@/components/Special/special.vue';
export default {
    data() {
        return {};
    },
    methods: {
        loadIn() {
            this.$router.push({ "name": "details" });
        },
        createUser() {
            console.log("omn");
            this.$router.push({ "name": "resiger" });
        }
    },
    components: { Special }
};
</script>

<style lang="less" scoped>
#content {
  width: 50vh;
  height: 10vh;
  float: left;
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
}
</style>